import React from "react";
import Item from "./Item";

const CommentView=(props)=>{
    const data=props.data
    return (
        <div className="comment-list ">

            {
                data.map((ele,index)=>{
                    return <Item key={index} data={ele}/>
                })
            }
        </div>
    )
}
export default CommentView